-
Notifications
You must be signed in to change notification settings - Fork 12.4k
compare-commits.sh: support both llama-bench and test-backend-ops #14392
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds support for comparing performance results from both llama-bench and test-backend-ops by introducing tool-specific database schemas, CLI argument parsing, and formatting functions. Key changes include:
- Refactoring database field and key property definitions to support both tools.
- Updating table queries and input file handling based on a new --tool argument.
- Enhancing the CLI script (compare-commits.sh) to allow selection of the tool and additional arguments.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
scripts/compare-llama-bench.py | Adjusts SQLite table creation, queries, and result formatting for dual tool support. |
scripts/compare-commits.sh | Updates argument parsing and build/run logic to handle multiple tools. |
Hi @JohannesGaessler @slaren @ggerganov I’ve merged #14368 into master. Could you please continue reviewing this one when you have a moment? Thanks! |
5c1951b
to
b5ea15f
Compare
88b3c64
to
5e8f738
Compare
Signed-off-by: Xiaodong Ye <[email protected]>
Signed-off-by: Xiaodong Ye <[email protected]>
Signed-off-by: Xiaodong Ye <[email protected]>
Co-authored-by: Johannes Gäßler <[email protected]>
5e8f738
to
7736d64
Compare
Signed-off-by: Xiaodong Ye <[email protected]>
Make sure to read the contributing guidelines before submitting a PR
This is a follow-up to #14368, adding support for comparing
test-backend-ops
performance results between two commits.Testing Done
Generated Tables
Generated Plot
Full Logs
test-backend-ops:
llama-bench: